package com.kitbox.hl.meshow.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @Auther: honglei
 * @Date: 2019/8/14 09:59
 * @Description:
 */

@Mapper
public interface ListenerMapper {



    @Transactional
    void  insert(@Param("type") int type, @Param("data_info") String data_info);



    List<String>  findUrl(@Param("processDefinitionId") String processDefinitionId, @Param("processInstanceId") String processInstanceId, @Param("type") int type);

    int  insertUrl(@Param("processDefinitionId") String processDefinitionId, @Param("processInstanceId") String processInstanceId,
                   @Param("url") String url, @Param("type") int type);


}
